<script setup>
const message = '你好'
const Fn = () => {
  console.log('Fn')
}
</script>
<template>
  <h1>你好</h1>
  <h2>{{ message }}</h2>
  <button @click="Fn">触发Fn函数</button>
</template>

<style>
</style>
